The overall appearance and behavior of the document is specified in the YAML:
HTML default YAML
---
title: "Untitled"
format: html
editor: visual
---
PDF default YAML
---
title: "Untitled"
format: pdf
editor: visual
---
Table of Contents (ToC)Allows for the sharing of the hmtl file without requiring for external files
Put Table of Contents
Define the title of the ToC
Location of the ToC (left, right, body)
Section
Subsection
Sub-subsection
Paragraph
I frankly have never used that
I have no idea
Markdown syntax: Font
Output
italics, bold, bold italics
Markdown syntax: Scripts
Output
textsuperscirpt2, textunderscript2
In-line math:
This is an in-line equation \(y = \beta_0 + \beta_1 X + \varepsilon\)
Navigate to your GitHub repository online:
(take some time, be patient)
README.mdThis file handles the generation of the website
It works with basic markdown syntax
They create the index to the pages we want to display in our website
Warning
The links must link to the directory of the html file in the subfolder of the project!
commit + pushDon’t forget to push!
Inside your R project for this school:
Create a new HMTL quarto document that must contain:
Render the document in HTML
Create the link to your newly created document in the README.md
Commit & push the .qmd and .html of your newly created document
Commit & push the .md and .htmlof the README file
By default, the HTML document is set to take all the space in the page
The page layout is based on a 12-unit (or 12-column) grid system, which can be used to divide the space accordingly:
(Best for HMTL presentation)
You can place anything in the margins of the documents!
From the previous document:
Baby steps